#ifndef RANDOMSELECTION_H_
#define RANDOMSELECTION_H_

#include "../Selection.h"
#include "../../Solution/Solution.h"
#include "../../Random/MyRandom.h"
#include <cfloat>
#include <vector>

/** Very simple class for selecting randomly.  This is mainly used for comparing
 * various selection methods to a non-discriminatory selection method to show how
 * well they perform.
 */
class RandomSelection : public Selection
{
	public:
		RandomSelection() { };
		void select(Solution* &, Solution* &);
		void prepare(vector<Solution*>);
        
        static Selection* getSelection();
	private:
		void clean();
		vector<Solution*> genePool;
};

#endif /*RANDOMSELECTION_H_*/
